import { http, request } from './index';
import type { UserProfile } from '@/types/user';

export const getCurrentUser = () =>
  request<UserProfile>(http.get('/v1/users/me'));

